<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>SuperBomberman:  Fichier source de bomberman.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
<h1>bomberman.h</h1><a href="bomberman_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef _Bomberman</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define _Bomberman</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="bombe_8h.html" title="Déclarations des types et fonctions pour l&amp;#39;utilisation d&amp;#39;une Bombe au cours...">bombe.h</a>"</span>
<a name="l00012"></a>00012 <span class="comment">// Document Doxygen en cours le 26 mai !!</span>
<a name="l00013"></a>00013 <span class="keyword">struct </span>sBomberman {
<a name="l00014"></a>00014     <span class="keywordtype">int</span> posx;
<a name="l00015"></a>00015     <span class="keywordtype">int</span> posy;
<a name="l00016"></a>00016     <span class="keywordtype">char</span> direction;
<a name="l00017"></a>00017     <span class="keywordtype">int</span> nb_vie;
<a name="l00018"></a>00018     <span class="keywordtype">int</span> nb_bombe;
<a name="l00019"></a>00019 };
<a name="l00020"></a>00020 <span class="keyword">typedef</span> <span class="keyword">struct </span>sBomberman Bomberman;
<a name="l00021"></a>00021 
<a name="l00030"></a>00030 <span class="keywordtype">int</span> Bomberman_Getposx(<span class="keyword">const</span> Bomberman &amp;b);
<a name="l00031"></a>00031 
<a name="l00040"></a>00040 <span class="keywordtype">int</span> Bomberman_Getposy(<span class="keyword">const</span> Bomberman &amp;b);
<a name="l00041"></a>00041 
<a name="l00050"></a>00050 <span class="keywordtype">char</span> Bomberman_Getdirection(<span class="keyword">const</span> Bomberman &amp;b);
<a name="l00051"></a>00051 
<a name="l00060"></a>00060 <span class="keywordtype">int</span> Bomberman_Getbombe(<span class="keyword">const</span> Bomberman &amp;b);
<a name="l00061"></a>00061 
<a name="l00070"></a>00070 <span class="keywordtype">int</span> Bombeman_Getnbvie(<span class="keyword">const</span> Bomberman &amp;b);
<a name="l00071"></a>00071 
<a name="l00080"></a>00080 <span class="keywordtype">void</span> Bomberman_Setbombe(Bomberman &amp;b, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;nb);
<a name="l00081"></a>00081 
<a name="l00090"></a>00090 <span class="keywordtype">void</span> Bomberman_Setposx(Bomberman &amp;b, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;nb);
<a name="l00091"></a>00091 
<a name="l00100"></a>00100 <span class="keywordtype">void</span> Bomberman_Setposy(Bomberman &amp;b, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;nb);
<a name="l00101"></a>00101 
<a name="l00110"></a>00110 <span class="keywordtype">void</span> Bomberman_Setdirection(Bomberman &amp;b, <span class="keyword">const</span> <span class="keywordtype">char</span> &amp;nb);
<a name="l00111"></a>00111 
<a name="l00120"></a>00120 <span class="keywordtype">void</span> Bomberman_Setnbvie(Bomberman &amp;b, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;nbv);
<a name="l00121"></a>00121 
<a name="l00128"></a>00128 <span class="keywordtype">void</span> Bomberman_Incrementevie(Bomberman &amp;b);
<a name="l00129"></a>00129 
<a name="l00136"></a>00136 <span class="keywordtype">void</span> Bomberman_Decrementevie(Bomberman &amp;b);
<a name="l00137"></a>00137 
<a name="l00144"></a>00144 <span class="keywordtype">void</span> Bomberman_Initialisation(Bomberman &amp;b);
<a name="l00145"></a>00145 
<a name="l00158"></a>00158 <span class="keywordtype">void</span> Bomberman_mouvement(Bomberman &amp;b, <span class="keyword">const</span> Terrain &amp;t,<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;pos);
<a name="l00159"></a>00159 
<a name="l00171"></a>00171 <span class="keywordtype">bool</span> Bomberman_PresenceSurTrajetBombe(<span class="keyword">const</span> Bomberman &amp;a, Bombe * b, <span class="keyword">const</span> Terrain &amp;t);
<a name="l00172"></a>00172 
<a name="l00173"></a>00173 <span class="preprocessor">#endif</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Sun Jun 7 15:01:15 2009 pour SuperBomberman par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
